home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 8
/
CD Funhouse Version 8.0 - Wayzata Technology (7013) (1993).iso
/
pc
/
mac
/
__cd_fun
/
__sports
/
hyperfoo.00
/
card_5018.txt
< prev
next >
Wrap
Text File
|
1990-10-03
|
8KB
|
403 lines
-- card: 5018 from stack: in.00
-- bmap block id: 6431
-- flags: 0000
-- background id: 2687
-- name: Offense
----- HyperTalk script -----
-- part 1 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=388 top=208 right=258 bottom=450
-- title width / last selected line: 0
-- icon id / first selected line: 1897 / 1897
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Field Goal
----- HyperTalk script -----
on mouseUp
FieldGoal
Runplay
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=100 top=47 right=98 bottom=163
-- title width / last selected line: 0
-- icon id / first selected line: 15442 / 15442
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Draw Play
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Drawplay
Runplay
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=425 top=269 right=319 bottom=487
-- title width / last selected line: 0
-- icon id / first selected line: 28371 / 28371
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Punt
----- HyperTalk script -----
on mouseUp
Punt
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=252 top=210 right=260 bottom=316
-- title width / last selected line: 0
-- icon id / first selected line: 10053 / 10053
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: TE Screen
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Screenpass
Runplay
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=197 top=270 right=320 bottom=261
-- title width / last selected line: 0
-- icon id / first selected line: 3497 / 3497
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Long Pass
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Longpass
Runplay
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=255 top=47 right=98 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 9071 / 9071
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Off Tackle
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
OffTackle
Runplay
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=177 top=47 right=98 bottom=239
-- title width / last selected line: 0
-- icon id / first selected line: 19359 / 19359
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: End Run
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Endrun
Runplay
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=100 top=210 right=260 bottom=164
-- title width / last selected line: 0
-- icon id / first selected line: 7631 / 7631
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Quick Out
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Quickout
Runplay
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=197 top=108 right=159 bottom=259
-- title width / last selected line: 0
-- icon id / first selected line: 18479 / 18479
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Reverse
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Reverse
Runplay
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=24 top=210 right=260 bottom=88
-- title width / last selected line: 0
-- icon id / first selected line: 24447 / 24447
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Short Option
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Shortpass
Runplay
end mouseUp
-- part 14 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=176 top=210 right=261 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 10270 / 10270
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Slant
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Slant
Runplay
end mouseUp
-- part 16 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=83 top=107 right=158 bottom=145
-- title width / last selected line: 0
-- icon id / first selected line: 14016 / 14016
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Sweep
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Sweep
Runplay
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=26 top=47 right=98 bottom=88
-- title width / last selected line: 0
-- icon id / first selected line: 13921 / 13921
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: QB Sneak
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
QBSneak
Runplay
end mouseUp
-- part 18 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=80 top=271 right=321 bottom=144
-- title width / last selected line: 0
-- icon id / first selected line: 11430 / 11430
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Medium In
----- HyperTalk script -----
on mouseUp
global players
if players=1 then Computer
Mediumpass
Runplay
end mouseUp
-- part 19 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=351 top=269 right=319 bottom=413
-- title width / last selected line: 0
-- icon id / first selected line: 26934 / 26934
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Short Punt
----- HyperTalk script -----
on mouseUp
global ty, dwn, dir, fdown, team1, ptime, fdown, yop, ofns, plytyp,mdw
global play, ds, drop, inc
put "Short Punt" into play
put 0 into inc
put 0 into drop
put 0 into plytyp
put 1 into ofns
put 14 into ptime
put the random of 99 into kick
put the random of 99 into rtn
if kick >= 95 and kick <100 then put 51 into ko
if kick >= 90 and kick <95 then put 46 into ko
if kick >= 70 and kick <90 then put 39 into ko
if kick >= 40 and kick <70 then put 31 into ko
if kick <40 then put 24 into ko
if rtn >= 97 and rtn <100 then put 100 into r
if rtn >= 94 and rtn <97 then put 30 into r
if rtn >= 89 and rtn <94 then put 15 into r
if rtn >= 75 and rtn <89 then put 7 into r
if rtn >= 65 and rtn <75 then put 9 into r
if rtn >= 30 and rtn <65 then put 0 into r
if rtn >= 15 and rtn <30 then put 5 into r
if rtn <15 then put 0 into r
go to card 5
if dir=0 then
put ty+ko into fty
else
put ty-ko into fty
end if
XFootball (ty*3)+106,(fty*3)+106
put fty into ty
put 0 into dwn
put 0 into mdw
put r into yop
if dir=1 then
if ty+yop<=0 then
put 19 into ty
put 1 into yop
XFootball 19,20
end if
put ty+yop+10 into fdown
else
if ty-yop>=100 then
put 81 into ty
put 1 into yop
XFootball 81,80
end if
put ty-yop-10 into fdown
end if
if dir=0 then put 1 into dir
else put 0 into dir
if team1 is true then put false into team1
else put true into team1
Runplay
end mouseUp